import Vue from 'vue'
import App from './App'
import router from './router'
var Fly=require("flyio/dist/npm/fly")
var fly=new Fly
import ElementDataset from 'element-dataset';
ElementDataset();
import promise from 'es6-promise'
promise.polyfill()
import 'ie-placeholder'
import {Modal,Message} from 'iView';//全局轻量化组件
import 'iview/dist/styles/iview.css';
Vue.config.productionTip = false
Vue.prototype.$Modal = Modal//全局模态框
Vue.prototype.$Message = Message//全局信息提示框

Vue.prototype.$http=fly//ajax框架
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
